package cn.yqx.bankshop.oauth2.service;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;


public interface BankshopUserDetailsService extends UserDetailsService {
    /**
     * 根据电话号码查询用户
     * @param mobile
     * @return
     */
    UserDetails loadUserByMobile(String mobile);
}
